package com.kensure.shike.chongzhi.model;

import java.util.Date;

import com.kensure.shike.user.model.SKUser;

import co.kensure.frame.BaseInfo;

/**
 * 用余 充值 1 提现 2 会员3 记录对象类
 * 
 * @author fankd created on 2018-9-8
 * @since
 */
public class SKUserInout extends BaseInfo {

	private static final long serialVersionUID = 3545276994084105527L;

	/***/
	private Long id;
	/** 用户id */
	private Long userid;
	/** 充值 1 提现 2 会员3 */
	private Integer typeid;
	/** -1是无效，0是未付款，9是有效 */
	private Integer status;
	/** 付款时间 */
	private Date fkTime;
	/** 微信付款单号 */
	private Long fkid;
	/** 账务id */
	private Long zhangid;
	/** 金额 */
	private Double jine;
	/** 描述 */
	private String remark;
	/**用户*/		
	private SKUser user; 
	
	public SKUser getUser() {
		return user;
	}

	public void setUser(SKUser user) {
		this.user = user;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Integer getTypeid() {
		return typeid;
	}

	public void setTypeid(Integer typeid) {
		this.typeid = typeid;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getFkTime() {
		return fkTime;
	}

	public void setFkTime(Date fkTime) {
		this.fkTime = fkTime;
	}

	public Long getFkid() {
		return fkid;
	}

	public void setFkid(Long fkid) {
		this.fkid = fkid;
	}

	public Long getZhangid() {
		return zhangid;
	}

	public void setZhangid(Long zhangid) {
		this.zhangid = zhangid;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Double getJine() {
		return jine;
	}

	public void setJine(Double jine) {
		this.jine = jine;
	}
	public String getStatusStr() {
		String temp = "";
		switch(status.intValue()){
		case 1:
			temp = "申请中";
		    break;
		case -1:
			temp = "核对不通过";
		    break;
		case 9:
			temp = "已入账";
		    break;
		default:
		    break;
		}
		return temp;
	}

}
